<html manifest="IGNORE.manifest" lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"><!DOCTYPE html>
<html manifest="IGNORE.manifest" lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
    <link rel="stylesheet" type="text/css" href="./css/reset.css" th:href="@{${uiPath} + ${appName} + '/css/reset.css'}"/>
    <link rel="stylesheet" type="text/css" href="./css/YZ_Single.css" th:href="@{${uiPath} + ${appName} + '/css/YZ_Single.css'}"/>

</head>
<body>
<div class="zong">
     <div class="toubu">
       <img class="fanhui" src="../images/raw_1503386635.png" alt="" th:src="@{${uiPath} + ${appName} + '/images/raw_1504156605.png'}">
       <p>我的邀请</p>
      <p class="shouye">首页</p>
     </div> 
     <div class="kuai"> </div> 
     <div class="quyaoqing">
        <p class="jiangyaoq">奖金是推荐人消费金额的1%</p>
        <p class="quyaoqingquba">去邀请</p>
     </div>
     <div class="wodeerweima">
         <p class="wodenamecode">我的邀请二维码:</p>
         <div id="qrcode"></div>
         <p class="wodetuijianma">我的推荐码:<span class="tuijiancode"><b>4f7a</b></span></p>
     </div>
     <div class="myjiangjin">
        <p class="myjiangtitle">我的奖金</p>
        <p class="mymoney">1888元</p>
        <p class="stitl4"></p>
     </div>
     <div class="myjiangjinren">
        <p class="myyaod">我邀请的人</p>
     </div>
     <div class="renwuliebiao">
       <dl>
         <dt class="touxiang">
                <img src="../images/raw_1503291140.jpeg" alt="" th:src="@{${uiPath} + ${appName} + '/images/raw_1504156605.png'}">
         </dt>
         <dd class="renwuxinxi">
           <p class="name">吴凉粉</p>
           <p class="anlishu">消费金额：<span>30000元</span></p>
           <p class="linian">小区名称：风华水源小区</p>
         </dd>
         <dd class="renwuxinxiee">
         <p class="righrrow"></p>
         </dd>
       </dl>
   </div>
</div>

<script type="text/javascript" src="./js/flexible.js" th:src="@{${uiPath} + ${appName} + '/js/flexible.js'}"></script>
<script type="text/javascript" src="./js/jquery.min.js" th:src="@{${uiPath} + ${appName} + '/js/jquery.min.js'}"></script>
<script type="text/javascript" src="../js/jquery.qrcode.min.js" th:src="@{${uiPath} + ${appName} + '/js/jquery.qrcode.min.js'}"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" th:src="'http://res.wx.qq.com/open/js/jweixin-1.2.0.js'"></script>

<script type="text/javascript" src="../js/YZ_Single.js" th:src="@{${uiPath} + ${appName} + '/js/YZ_Single.js'}"></script>
<script>
    $(document).ready(function(){
        $.ajax({
            type:"post",
            url:"/wxOauth/getSing",
            data:{"url":location.href.split('#')[0]},
            dataType:"json",
            success:function(result){
                wx.config({
                    debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
                    appId: result.data.appId, // 必填，公众号的唯一标识
                    timestamp: result.data.timestamp, // 必填，生成签名的时间戳
                    nonceStr: result.data.noncestr, // 必填，生成签名的随机串
                    signature: result.data.signature,// 必填，签名，见附录1
                    jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage',
                        'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone' ] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
                });
            }
        });
    });
    var obj = {
        title : '邀请你加入我的团队！！',
        desc : '会装房装修！',
        link : '[[${url}]]',
        imgUrl : '[[${user.userHead}]]',
    };
    wx.ready(function(){
        wx.onMenuShareAppMessage(obj);
        // 2.2 监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
        wx.onMenuShareTimeline(obj);

        // 2.3 监听“分享到QQ”按钮点击、自定义分享内容及分享结果接口
        wx.onMenuShareQQ(obj);

        // 2.4 监听“分享到微博”按钮点击、自定义分享内容及分享结果接口
        wx.onMenuShareWeibo(obj);
    });
</script>
</body>
</html>